package com.ruoyi.Order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 订单表 xyb_order
 *
 * @author ruoyi
 * @date 2019-07-23
 */
public class Order extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;
    /**
     * 订单编号
     */
    private String orderid;
    /**
     * 收件地址id
     */
    private String addressId;
    /**
     * 寄件地址(寄) 取件短信(取) 需求(帮)
     */
    private String remarks;
    /**
     * 送货上门 1送货上门 0不送上楼
     */
    private Integer door;
    /**
     * 订单状态
     */
    private Integer state;
    /**
     * 快递取件1001，快递寄件1002，其他跑腿1003，闪送订单1004，闪送加单1005
     */
    private String type;
    /**
     * 订单大小 与字典表寄件大小关联
     */
    private Integer size;
    /**
     * 快件数量
     */
    private Integer number;
    /**
     * 学校id
     */
    private Integer schoolId;
    /**
     * 跑腿费
     */
    private String paotuifei;
    /**
     * 订单属性 待付款2001，待接单2002，待送达2003，待确认2004，已完成2005，退款2006
     */
    private String orderShuxin;
    /**
     * 加单id
     */
    private String jiadanId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 小费
     */
    private String xiaofei;
    /**
     * 总金额
     */
    private Double jine;
    /**
     * 是否加单 1是 2否
     */
    private Integer ifJiadan;
    /**
     * 送货上门时间 于字典表关联
     */
    private Integer peisongDate;
    /**
     * 骑手id
     */
    private Integer qishouId;
    /**
     * 是否出库 1是
     */
    private Integer chuku;
    /**
     * 是否有效 1有效 0无效
     */
    private Integer valid;
    /**
     * 创建时间
     */
    private String creactDate;
    /**
     * 修改时间
     */
    private String modifyDate;
    /**
     * 修改人
     */
    private String modifyBy;
    /**
     * 退货类型
     */
    private String returnType;
    /**
     * 退款原因
     */
    private String returnReason;
    /**
     * 退款说明
     */
    private String returnExplain;
    /**
     * 退款金额
     */
    private Double returnMoney;
    /**
     * 退款备注
     */
    private String returnRemark;
    /**
     * 退款审核
     */
    private Integer returnOperate;
    /**
     * 退款图片
     */
    private String returnImg;
    /**
     * 退款时间
     */
    private String returnDate;
    /**
     * 同意退款时间
     */
    private String passDate;
    /**
     * 红包id
     */
    private Integer packetsId;
    private Integer deptId;
    private Integer isMoney;

    private String nickNameForSearch;

    private String realNameForSearch;

    private String mobileForSearch;

    private String riderName;

    private String orderRemark;

    private String addressRealname;

    public String getRiderName() {
        return riderName;
    }

    public void setRiderName(String riderName) {
        this.riderName = riderName;
    }

    public String getAddressRealname() {
        return addressRealname;
    }

    public void setAddressRealname(String addressRealname) {
        this.addressRealname = addressRealname;
    }

    public String getOrderRemark() {
        return orderRemark;
    }

    public void setOrderRemark(String orderRemark) {
        this.orderRemark = orderRemark;
    }

    public String getNickNameForSearch() {
        return nickNameForSearch;
    }

    public void setNickNameForSearch(String nickNameForSearch) {
        this.nickNameForSearch = nickNameForSearch;
    }

    public String getRealNameForSearch() {
        return realNameForSearch;
    }

    public void setRealNameForSearch(String realNameForSearch) {
        this.realNameForSearch = realNameForSearch;
    }

    public String getMobileForSearch() {
        return mobileForSearch;
    }

    public void setMobileForSearch(String mobileForSearch) {
        this.mobileForSearch = mobileForSearch;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getAddressId() {
        return addressId;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setDoor(Integer door) {
        this.door = door;
    }

    public Integer getDoor() {
        return door;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getSize() {
        return size;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getNumber() {
        return number;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setPaotuifei(String paotuifei) {
        this.paotuifei = paotuifei;
    }

    public String getPaotuifei() {
        return paotuifei;
    }

    public void setOrderShuxin(String orderShuxin) {
        this.orderShuxin = orderShuxin;
    }

    public String getOrderShuxin() {
        return orderShuxin;
    }

    public void setJiadanId(String jiadanId) {
        this.jiadanId = jiadanId;
    }

    public String getJiadanId() {
        return jiadanId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setXiaofei(String xiaofei) {
        this.xiaofei = xiaofei;
    }

    public String getXiaofei() {
        return xiaofei;
    }

    public void setJine(Double jine) {
        this.jine = jine;
    }

    public Double getJine() {
        return jine;
    }

    public void setIfJiadan(Integer ifJiadan) {
        this.ifJiadan = ifJiadan;
    }

    public Integer getIfJiadan() {
        return ifJiadan;
    }

    public void setPeisongDate(Integer peisongDate) {
        this.peisongDate = peisongDate;
    }

    public Integer getPeisongDate() {
        return peisongDate;
    }

    public void setQishouId(Integer qishouId) {
        this.qishouId = qishouId;
    }

    public Integer getQishouId() {
        return qishouId;
    }

    public void setChuku(Integer chuku) {
        this.chuku = chuku;
    }

    public Integer getChuku() {
        return chuku;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public Integer getValid() {
        return valid;
    }

    public void setCreactDate(String creactDate) {
        this.creactDate = creactDate;
    }

    public String getCreactDate() {
        return creactDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnReason(String returnReason) {
        this.returnReason = returnReason;
    }

    public String getReturnReason() {
        return returnReason;
    }

    public void setReturnExplain(String returnExplain) {
        this.returnExplain = returnExplain;
    }

    public String getReturnExplain() {
        return returnExplain;
    }

    public void setReturnMoney(Double returnMoney) {
        this.returnMoney = returnMoney;
    }

    public Double getReturnMoney() {
        return returnMoney;
    }

    public void setReturnRemark(String returnRemark) {
        this.returnRemark = returnRemark;
    }

    public String getReturnRemark() {
        return returnRemark;
    }

    public void setReturnOperate(Integer returnOperate) {
        this.returnOperate = returnOperate;
    }

    public Integer getReturnOperate() {
        return returnOperate;
    }

    public void setReturnImg(String returnImg) {
        this.returnImg = returnImg;
    }

    public String getReturnImg() {
        return returnImg;
    }

    public void setReturnDate(String returnDate) {
        this.returnDate = returnDate;
    }

    public String getReturnDate() {
        return returnDate;
    }

    public void setPassDate(String passDate) {
        this.passDate = passDate;
    }

    public String getPassDate() {
        return passDate;
    }

    public void setPacketsId(Integer packetsId) {
        this.packetsId = packetsId;
    }

    public Integer getPacketsId() {
        return packetsId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getDeptId() {
        return deptId;
    }


    public Integer getIsMoney() {
        return isMoney;
    }

    public void setIsMoney(Integer isMoney) {
        this.isMoney = isMoney;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderid", getOrderid())
                .append("addressId", getAddressId())
                .append("remarks", getRemarks())
                .append("door", getDoor())
                .append("state", getState())
                .append("type", getType())
                .append("size", getSize())
                .append("number", getNumber())
                .append("schoolId", getSchoolId())
                .append("paotuifei", getPaotuifei())
                .append("orderShuxin", getOrderShuxin())
                .append("jiadanId", getJiadanId())
                .append("userId", getUserId())
                .append("xiaofei", getXiaofei())
                .append("jine", getJine())
                .append("ifJiadan", getIfJiadan())
                .append("peisongDate", getPeisongDate())
                .append("qishouId", getQishouId())
                .append("chuku", getChuku())
                .append("valid", getValid())
                .append("creactDate", getCreactDate())
                .append("modifyDate", getModifyDate())
                .append("createBy", getCreateBy())
                .append("modifyBy", getModifyBy())
                .append("returnType", getReturnType())
                .append("returnReason", getReturnReason())
                .append("returnExplain", getReturnExplain())
                .append("returnMoney", getReturnMoney())
                .append("returnRemark", getReturnRemark())
                .append("returnOperate", getReturnOperate())
                .append("returnImg", getReturnImg())
                .append("returnDate", getReturnDate())
                .append("passDate", getPassDate())
                .append("packetsId", getPacketsId())
                .append("isMoney", getIsMoney())
                .append("addressRealname", getAddressRealname())
                .append("deptId", getDeptId())
                .toString();
    }
}
